package com.dadie.dorm.pojo.query;

public class FixQuery {
    private Integer page;
    private Integer limit;
    private String name;
    private String gender;

    public FixQuery() {
    }

    public FixQuery(Integer page, Integer limit, String name) {
        this.page = page;
        this.limit = limit;
        this.name = name;
    }

    public FixQuery(Integer page, Integer limit, String name, String gender) {
        this.page = page;
        this.limit = limit;
        this.name = name;
        this.gender = gender;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "HouseQuery{" +
                "page=" + page +
                ", limit=" + limit +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
